package org.dromara.work.mapper.temp;

import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.work.domain.bo.DmGeoSaveBo;
import org.dromara.work.domain.temp.TempDmGeo;
import org.dromara.work.domain.vo.DmGeoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 道路、街巷属性信息Mapper接口
 *
 * @author Chen
 * @date 2024-02-24
 */
@Mapper
public interface TempDmGeoMapper extends BaseMapperPlus<TempDmGeo, DmGeoVo> {

    DmGeoVo queryGeoFile (@Param("id") String id,@Param("code") String code);

    int insertGeoPointEntity(@Param("request") DmGeoSaveBo bo);

    int updateGeoPointEntity(@Param("request") DmGeoSaveBo bo);

    int insertGeoLineEntity(@Param("request") DmGeoSaveBo bo);

    int updateGeoLineEntity(@Param("request") DmGeoSaveBo bo);


    DmGeoVo queryGeoWkt (@Param("id") String id);
}
